/**
 * 
 */
package kr.co.insoft.driver.model;

import java.io.Serializable;

import kr.co.insoft.driver.util.NullExcludeTransformer;
import flexjson.JSONSerializer;

/**
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 * 
 */
public class KeyPairModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4728704037457525777L;

	String keyName;
	String keyFingerprint;

	public KeyPairModel() {

	}

	/**
	 * @return the keyName
	 */
	public String getKeyName() {
		return keyName;
	}

	/**
	 * @param keyName
	 *            the keyName to set
	 */
	public void setKeyName(String keyName) {
		this.keyName = keyName;
	}

	/**
	 * @return the keyFingerprint
	 */
	public String getKeyFingerprint() {
		return keyFingerprint;
	}

	/**
	 * @param keyFingerprint
	 *            the keyFingerprint to set
	 */
	public void setKeyFingerprint(String keyFingerprint) {
		this.keyFingerprint = keyFingerprint;
	}

	public String toString() {
		return (new JSONSerializer())
				.transform(new NullExcludeTransformer(), void.class)
				.exclude("*.class").deepSerialize(this);
	}
}
